package com.ruoyi.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.system.domain.Debt;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface DebtMapper extends BaseMapper<Debt> {

    public int insertDebt(Debt debt);

    public int updateRemoveStatus(Debt debt);

    public Debt selectByDebtId(Integer id);

    public int updateDebt(Debt debt);

    public List<Debt> searchDebtList(Debt debt);

    public int payeeDebtSuccess(Debt debt);

    public List<Debt> selectDebtList(Debt debt);
}
